<?php
namespace app\admin\model\system;
use app\common\traits\ModelCurd;
use think\Model;
class Nav extends Model
{
    protected $table='cp_nav_menu';
    protected $autoWriteTimestamp = false;
    use ModelCurd;
    public function content()
    {
        return $this->hasOne(NavMenuContentModel::class,'nav_id');
    }
}